home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobykickinit.swf / scripts / __Packages / com / ndimedia / utils / Proxy.as
Text File  |  2007-09-28  |  504b  |  23 lines

  1. class com.ndimedia.utils.Proxy
  2. {
  3.    function Proxy()
  4.    {
  5.    }
  6.    static function create(oTarget, fFunction)
  7.    {
  8.       var aParameters = new Array();
  9.       var _loc2_ = 2;
  10.       while(_loc2_ < arguments.length)
  11.       {
  12.          aParameters[_loc2_ - 2] = arguments[_loc2_];
  13.          _loc2_ = _loc2_ + 1;
  14.       }
  15.       var _loc4_ = function()
  16.       {
  17.          var _loc2_ = arguments.concat(aParameters);
  18.          fFunction.apply(oTarget,_loc2_);
  19.       };
  20.       return _loc4_;
  21.    }
  22. }
  23.